//
//  SkipVC.m
//  CarRaceWB
//
//  Created by MacPro on 2017/8/25.
//  Copyright © 2017年 MacPro. All rights reserved.
//

#import "SkipVC.h"


@interface SkipVC ()

@end

@implementation SkipVC

- (void)viewDidLoad {
    [super viewDidLoad];
    UIImageView *aimage = [[UIImageView alloc]initWithFrame:RectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT)];
    aimage.image = [UIImage imageNamed:@"SKIP"];
    [self.view addSubview:aimage];
    aimage.userInteractionEnabled = YES;
    UITapGestureRecognizer *NextDetails = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(UpAction)];
    [aimage addGestureRecognizer:NextDetails];
    
}

- (void)UpAction
{
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:self.link]];

}




@end
